home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d11
/
nansiutl.arc
/
VIEW.DOC
< prev
Wrap
Text File
|
1991-04-03
|
1KB
|
36 lines
view - read-only text display program
Usage: view textfile
View is a simple program to let you scroll back and forth thru a text
file and search for strings. It requires NANSI.SYS or equivalent to
be loaded in CONFIG.SYS.
It understands the following commands, which were chosen to make users
of the Unix text editor 'vi' comfortable:
q quit
/ search forward
? search backwards
n find next
N find next in opposite direction
j or arrow move down
k or arrow move up
h or arrow move left
l or arrow move right
^F or PageDown move one page down
^B or PageUp move one page up
It expands tabs on 8 column boundaries.
Technical details:
It was written in 1985 in 8086 assembly language, and uses MS-DOS function
calls for all input and output (no direct writing to video screen). Because
it batches its output, screen updates are nearly instantaneous when used with
NANSI.SYS. View.com uses VT100 style insert and delete line sequences to
avoid repainting the whole screen when scrolling by just one line.
The source is available free by request via Internet e-mail from
dank@blacks.jpl.nasa.gov or dank@moc.jpl.nasa.gov. (Internet e-mail
is available at universities and research institutions. Many
commercial e-mail systems such as Compuserve have gateways that allow
you to send e-mail to Internet addresses.)